package com.littleken.foodieCommon.bean;

import java.util.Collections;
import java.util.List;

/*
 * Create by littleken on 2020/11/24 15:37
 */
public class DataList<T> {

    private Long pageNo;
    private Long pageSize;
    private Long total;
    private List<T> list = Collections.emptyList();

    public Long getPageNo() {
        return pageNo;
    }

    public void setPageNo(Long pageNo) {
        this.pageNo = pageNo;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}

